<div th:fragment="center">
    <!-- start: content -->
    <div id="content">
        <div class="panel box-shadow-none content-header">
            <div class="panel-body">
                <div class="col-md-12">
                    <h3 class="animated fadeInLeft"首页</h3>
                    <p class="animated fadeInDown">
                        首页
                    </p>
                </div>
            </div>
        </div>

        <div class="col-md-12" style="padding:20px;">
            <div class="col-md-12 padding-0">
                <div class="col-md-12 padding-0">
                    <div class="col-md-12 padding-0">

                        <div class="col-md-4">
                            <div class="panel box-v1">
                                <div class="panel-heading bg-white border-none">
                                    <div class="col-md-6 col-sm-6 col-xs-6 text-left padding-0">
                                        <h4 class="text-left">发帖</h4>
                                    </div>
                                    <div class="col-md-6 col-sm-6 col-xs-6 text-right">
                                        <h4>
                                            <span class="icon-user icons icon text-right"></span>
                                        </h4>
                                    </div>
                                </div>
                                <div class="panel-body text-center">
                                    <h1 th:text="${ft}"></h1>
                                    <p>篇</p>
                                    <hr/>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4">
                            <div class="panel box-v1">
                                <div class="panel-heading bg-white border-none">
                                    <div class="col-md-6 col-sm-6 col-xs-6 text-left padding-0">
                                        <h4 class="text-left">留言</h4>
                                    </div>
                                    <div class="col-md-6 col-sm-6 col-xs-6 text-right">
                                        <h4>
                                            <span class="icon-basket-loaded icons icon text-right"></span>
                                        </h4>
                                    </div>
                                </div>
                                <div class="panel-body text-center">
                                    <h1 th:text="${ly}"></h1>
                                    <p>条</p>
                                    <hr/>
                                </div>
                            </div>
                        </div>

                        <div class="col-md-4">
                            <div class="panel box-v1">
                                <div class="panel-heading bg-white border-none">
                                    <div class="col-md-6 col-sm-6 col-xs-6 text-left padding-0">
                                        <h4 class="text-left">知识</h4>
                                    </div>
                                    <div class="col-md-6 col-sm-6 col-xs-6 text-right">
                                        <h4>
                                            <span class="icon-basket-loaded icons icon text-right"></span>
                                        </h4>
                                    </div>
                                </div>
                                <div class="panel-body text-center">
                                    <h1 th:text="${zs}"></h1>
                                    <p>篇</p>
                                    <hr/>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-12">
                          <div class="panel box-v4">
                            <div class="panel-heading bg-white border-none">
                                <h4><span class="icon-notebook icons"></span> 最新留言</h4>
                            </div>
                            <div class="panel-body padding-10">

                                <th:block th:each="item:${leaveMessages}">
                                <div class="well">
                                    <h4>提问专家：<span th:text="${item.consultExpertName}"></span></h4>
                                    <p th:text="${item.leaveContent}"></p>

                                    <div style="float: right;">
                                        <span class="fa fa-retweet"></span>
                                        <!--<a onclick="showMsg('+${item.replyContent}+')">查看回答</a>-->
                                        <!--<a th:onclick="'javascript:showMsg('+${item.replyContent}+')' ">查看回答</a>-->
                                        <a th:onclick="'javascript:showMsg(\''+${item.replyContent}+'\')'">查看回答</a>
                                    </div>
                                </div>
                                </th:block>

                            </div>
                        </div>
                    </div>
                </div>

            </div>

        </div>
    </div>
    <!-- end: content -->

</div>